package com.schoolcloud.social.service;

import com.schoolcloud.common.model.PageDTO;
import com.schoolcloud.social.entity.SocPostCategory;
import com.baomidou.mybatisplus.extension.service.IService;
import com.schoolcloud.social.query.CategoryQuery;
import com.schoolcloud.social.vo.SocPostCategoryTreeVO;

import java.util.List;

/**
* @author hongmizfb
* @description 针对表【soc_post_category(帖子分类表)】的数据库操作Service
* @createDate 2025-03-09 08:51:21
*/
public interface SocPostCategoryService extends IService<SocPostCategory> {

    List<SocPostCategoryTreeVO> getPostCategoryTree();

    List<SocPostCategoryTreeVO> getCategoryParentTreeList();

    PageDTO<SocPostCategory> getPostCategoryPage(CategoryQuery query);
}
